"use strict";
var Gender;
(function (Gender) {
  Gender[-1] = "Unknown";
  Gender[0] = "Gril";
  Gender[(Gender["Boy"] = 1)] = "Boy";
})(Gender || (Gender = {}));

Gender = {
  Unknown: -1,
  "-1": "Unknown",
  Gril: 0,
  0: "Gril",
  Boy: 1,
  1: "Boy",
};

var query = {
  // 传值的方式，阅读性不强
  name: "zs",
  gender: Gender.Boy,
};
console.log("后台的数据", query);
